<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>scribus</Name>
        <Homepage>http://www.scribus.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>scribusicon</Icon>
        <IsA>app:gui</IsA>
        <Summary>Desktop Publishing (DTP) and Layout program</Summary>
        <Description>Scribus is an opensource desktop publishing application with features like CMYK colorspace and PDF output.
        </Description><Archive sha1sum="787d427e5e2c1b508e1b0a6cb9cba04075b9e5ca" type="tarxz">http://sourceforge.net/projects/scribus/files/scribus-devel/1.5.3/scribus-1.5.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libart_lgpl-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>ghostscript-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>poppler-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-webkit-devel</Dependency>
            <Dependency>qt5-location-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>cairo-devel</Dependency>            
            <Dependency>hunspell-devel</Dependency>
            <Dependency>boost-devel</Dependency>
            <Dependency>libwpg-devel</Dependency>
            <Dependency>podofo-devel</Dependency>
            <Dependency>libvisio-devel</Dependency>
            <Dependency>libcdr-devel</Dependency>
            <Dependency>GraphicsMagick-devel</Dependency>
            <Dependency>libpagemaker-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>scribus-1.5.3-docdir.patch</Patch>
            <Patch>findOpenSSL.patch</Patch>
            <Patch>scribus-1.5.3-fpic.patch</Patch>
            <Patch>PisiLinux-correctly_link_to_libxml2.patch</Patch>
            <Patch>scribus-standard-font-paths.patch</Patch>
            <!--Patch>scribus-1.5.2-qt57-build.patch</Patch-->
        </Patches>
    </Source>

    <Package>
        <Name>scribus</Name>
        <RuntimeDependencies>
            <Dependency>icu4c</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>podofo</Dependency>
            <Dependency>python</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>poppler</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>hunspell</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>librevenge</Dependency>
            <Dependency>qt5-webkit</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>qt5-declarative</Dependency>
            <Dependency>libpagemaker</Dependency>
            <Dependency>libcdr</Dependency>
            <Dependency>GraphicsMagick</Dependency>
            <Dependency>libvisio</Dependency>
            <Dependency>libmspub</Dependency>
            <Dependency>harfbuzz</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share</Path>
        </Files>
    </Package>

    <Package>
        <Name>scribus-docs</Name>
        <Summary>Documentation files for scribus</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc/scribus</Path>
        </Files>
    </Package>    

    <History>
        <Update release="5">
            <Date>2018-02-03</Date>
            <Version>1.5.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-08-23</Date>
            <Version>1.5.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-17</Date>
            <Version>1.5.2</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>1.5.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-18</Date>
            <Version>1.5.2</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
